//
//  myAccountViewController.h
//  chilemat
//
//  Created by Cristian Gonzalez Figueroa on 22-05-14.
//  Copyright (c) 2014 Chilemat SpA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <sqlite3.h>

@interface myAccountViewController_iPad : UIViewController <UITextFieldDelegate>{
    sqlite3 *bd;
}

@property (weak, nonatomic) IBOutlet UITextField *textEmail;

@property (weak, nonatomic) IBOutlet UITextField *textPassword;

@property (weak, nonatomic) IBOutlet UITextField *textRetypePassword;
//-----------------------------------------------------------------------
@property (weak, nonatomic) IBOutlet UITextField *textNames;

@property (weak, nonatomic) IBOutlet UITextField *textLastName;

@property (weak, nonatomic) IBOutlet UITextField *textRut;

@property (weak, nonatomic) IBOutlet UITextField *textNumber;

@property (weak, nonatomic) IBOutlet UITextField *textDay;

@property (weak, nonatomic) IBOutlet UITextField *textMonth;

@property (weak, nonatomic) IBOutlet UITextField *textYear;
//-----------------------------------------------------------------------
@property (weak, nonatomic) IBOutlet UIButton *btnActualizar;

@property (weak, nonatomic) IBOutlet UIView *viewUpdating;

@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *objActivityUpdating;

@property (weak, nonatomic) IBOutlet UIBarButtonItem *objBtnUpdateCancel;


@property (nonatomic, strong) NSMutableArray *json;

@property (weak, nonatomic) IBOutlet UISegmentedControl *segmentedSexOption;

@property (weak, nonatomic) IBOutlet UITextField *textActualPassword;


- (IBAction)backToHomeArea:(id)sender;

- (IBAction)changePhoneNumber:(id)sender;

- (IBAction)changeDay:(id)sender;

- (IBAction)changeMonth:(id)sender;

- (IBAction)changeYear:(id)sender;

- (IBAction)editAccount:(id)sender;

- (IBAction)updateAccount:(id)sender;





@end
